﻿namespace WMS6.Web.BaseInfoDetailServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="TariffDetailQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
    public class TariffDetailQueryEntity : BaseQuery
    {
        [OptionalField]
        private string ChargeInvocationField;
        [OptionalField]
        private string ChargePerUnitField;
        [OptionalField]
        private string ChargeUnitField;
        [OptionalField]
        private string CostingUnitField;
        [OptionalField]
        private string CostInvocationField;
        [OptionalField]
        private string CostUnitRateField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DescrField;
        [OptionalField]
        private string GeneralLedgerIDField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private string LineIDField;
        [OptionalField]
        private string LowestChargeField;
        [OptionalField]
        private string RateIDField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string TariffIDField;
        [OptionalField]
        private string TariffTypeField;
        [OptionalField]
        private string TaxGroupIDField;
        [OptionalField]
        private string UnitCostField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string User10Field;
        [OptionalField]
        private string User1Field;
        [OptionalField]
        private string User2Field;
        [OptionalField]
        private string User3Field;
        [OptionalField]
        private string User4Field;
        [OptionalField]
        private string User5Field;
        [OptionalField]
        private string User6Field;
        [OptionalField]
        private string User7Field;
        [OptionalField]
        private string User8Field;
        [OptionalField]
        private string User9Field;
        [OptionalField]
        private string WhIDField;

        [DataMember]
        public string ChargeInvocation
        {
            get
            {
                return this.ChargeInvocationField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ChargeInvocationField, value))
                {
                    this.ChargeInvocationField = value;
                    base.RaisePropertyChanged("ChargeInvocation");
                }
            }
        }

        [DataMember]
        public string ChargePerUnit
        {
            get
            {
                return this.ChargePerUnitField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ChargePerUnitField, value))
                {
                    this.ChargePerUnitField = value;
                    base.RaisePropertyChanged("ChargePerUnit");
                }
            }
        }

        [DataMember]
        public string ChargeUnit
        {
            get
            {
                return this.ChargeUnitField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ChargeUnitField, value))
                {
                    this.ChargeUnitField = value;
                    base.RaisePropertyChanged("ChargeUnit");
                }
            }
        }

        [DataMember]
        public string CostingUnit
        {
            get
            {
                return this.CostingUnitField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CostingUnitField, value))
                {
                    this.CostingUnitField = value;
                    base.RaisePropertyChanged("CostingUnit");
                }
            }
        }

        [DataMember]
        public string CostInvocation
        {
            get
            {
                return this.CostInvocationField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CostInvocationField, value))
                {
                    this.CostInvocationField = value;
                    base.RaisePropertyChanged("CostInvocation");
                }
            }
        }

        [DataMember]
        public string CostUnitRate
        {
            get
            {
                return this.CostUnitRateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CostUnitRateField, value))
                {
                    this.CostUnitRateField = value;
                    base.RaisePropertyChanged("CostUnitRate");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string Descr
        {
            get
            {
                return this.DescrField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescrField, value))
                {
                    this.DescrField = value;
                    base.RaisePropertyChanged("Descr");
                }
            }
        }

        [DataMember]
        public string GeneralLedgerID
        {
            get
            {
                return this.GeneralLedgerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.GeneralLedgerIDField, value))
                {
                    this.GeneralLedgerIDField = value;
                    base.RaisePropertyChanged("GeneralLedgerID");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public string LineID
        {
            get
            {
                return this.LineIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LineIDField, value))
                {
                    this.LineIDField = value;
                    base.RaisePropertyChanged("LineID");
                }
            }
        }

        [DataMember]
        public string LowestCharge
        {
            get
            {
                return this.LowestChargeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LowestChargeField, value))
                {
                    this.LowestChargeField = value;
                    base.RaisePropertyChanged("LowestCharge");
                }
            }
        }

        [DataMember]
        public string RateID
        {
            get
            {
                return this.RateIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RateIDField, value))
                {
                    this.RateIDField = value;
                    base.RaisePropertyChanged("RateID");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string TariffID
        {
            get
            {
                return this.TariffIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TariffIDField, value))
                {
                    this.TariffIDField = value;
                    base.RaisePropertyChanged("TariffID");
                }
            }
        }

        [DataMember]
        public string TariffType
        {
            get
            {
                return this.TariffTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TariffTypeField, value))
                {
                    this.TariffTypeField = value;
                    base.RaisePropertyChanged("TariffType");
                }
            }
        }

        [DataMember]
        public string TaxGroupID
        {
            get
            {
                return this.TaxGroupIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TaxGroupIDField, value))
                {
                    this.TaxGroupIDField = value;
                    base.RaisePropertyChanged("TaxGroupID");
                }
            }
        }

        [DataMember]
        public string UnitCost
        {
            get
            {
                return this.UnitCostField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UnitCostField, value))
                {
                    this.UnitCostField = value;
                    base.RaisePropertyChanged("UnitCost");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string User1
        {
            get
            {
                return this.User1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User1Field, value))
                {
                    this.User1Field = value;
                    base.RaisePropertyChanged("User1");
                }
            }
        }

        [DataMember]
        public string User10
        {
            get
            {
                return this.User10Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User10Field, value))
                {
                    this.User10Field = value;
                    base.RaisePropertyChanged("User10");
                }
            }
        }

        [DataMember]
        public string User2
        {
            get
            {
                return this.User2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User2Field, value))
                {
                    this.User2Field = value;
                    base.RaisePropertyChanged("User2");
                }
            }
        }

        [DataMember]
        public string User3
        {
            get
            {
                return this.User3Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User3Field, value))
                {
                    this.User3Field = value;
                    base.RaisePropertyChanged("User3");
                }
            }
        }

        [DataMember]
        public string User4
        {
            get
            {
                return this.User4Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User4Field, value))
                {
                    this.User4Field = value;
                    base.RaisePropertyChanged("User4");
                }
            }
        }

        [DataMember]
        public string User5
        {
            get
            {
                return this.User5Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User5Field, value))
                {
                    this.User5Field = value;
                    base.RaisePropertyChanged("User5");
                }
            }
        }

        [DataMember]
        public string User6
        {
            get
            {
                return this.User6Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User6Field, value))
                {
                    this.User6Field = value;
                    base.RaisePropertyChanged("User6");
                }
            }
        }

        [DataMember]
        public string User7
        {
            get
            {
                return this.User7Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User7Field, value))
                {
                    this.User7Field = value;
                    base.RaisePropertyChanged("User7");
                }
            }
        }

        [DataMember]
        public string User8
        {
            get
            {
                return this.User8Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User8Field, value))
                {
                    this.User8Field = value;
                    base.RaisePropertyChanged("User8");
                }
            }
        }

        [DataMember]
        public string User9
        {
            get
            {
                return this.User9Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.User9Field, value))
                {
                    this.User9Field = value;
                    base.RaisePropertyChanged("User9");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

